package com.small.os.minio.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 发布状态枚举
 *
 * @author wangguochao
 */
@AllArgsConstructor
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum IsPublishEnum {
    //
    UPLOAD_PART(0, "未发布"),
    UPLOAD_SUCCESS(1, "已发布"),
    ALL(2, "全部");
    @EnumValue
    private final int code;
    private final String desc;
}
